using System;
using System.Collections.Generic;
using UnitOfWork.Domain;

namespace Domain.Repositories
{
    public class UserRepository:IUserRepository
    {
        private ILinqProvider linqProvider;
        public User GetById(int id)
        {
            return new GetByIdQuery(id, linqProvider).Execute();
        }

        public void Save(User entity)
        {
            throw new NotImplementedException();
        }

        public void Delete(User entity)
        {
            throw new NotImplementedException();
        }

        public User GetLastUser()
        {
            throw new NotImplementedException();
        }

        public IEnumerable<User> GetAllUser()
        {
            throw new NotImplementedException();
        }

    }
}